<template>
  <iframe name="child" src="http://81.68.101.36:8081/" width="100%" :style="defaultHeight"></iframe>
</template>

<script>
  export default {
    name: "home",
    data() {
      return{
        defaultHeight: {
          height: ""
        },
      }
    },
    methods: {
      getHeight() {
        this.defaultHeight.height = window.innerHeight - 90 + "px";
      }
    },
    mounted() {},
    created() {
      window.addEventListener("resize", this.getHeight);
      this.getHeight();
    }
  }
</script>

<style scoped>

</style>
